﻿/*
	this css contains all base styles for elements and structure of the layout of nearforums site.
*/
*{ margin:0; padding:0; font-size:13px; font-family:"微软雅黑"; }
body
{
	background-color: #ffffff;
	color: #222;
	margin: 0 0 0 0;
	padding:0;
   
	font-size: 13px;
	background-image: url(../images/temp/body-bg.gif);
	background-repeat: repeat-x;
}
img
{
	border: 0;
	vertical-align: middle;
}
table
{
	border: none;
	padding: 20px 0 20px 0;
}
table td
{
	padding: 2px 10px 2px 2px;
}
table th
{
	padding: 4px 10px 4px 0px;
	font-size: 1.1em;
	text-align: left;
	
}
p
{
	margin-top: 0px;
	margin-bottom: 8px;
	line-height: 18px;
}
ul
{
	margin: 0 0 10px 15px;
	padding: 5px 0 5px 0;
}
li
{
	margin: 0;
	padding: 0 0 4px 0;
}
a
{
	color: #10542B;
	text-decoration: none;
}
h1
{
	
	font-size: 28px;
	font-weight: normal;
	color: #333333;
	margin: 0px 0px 20px 0px;
	padding: 0px;

}
h2
{
	font-size: 20px;
	font-weight: normal;
	margin: 0 0 10px 0;
	padding: 0;
	color: #222222;
}
h3
{
	font-size: 16px;
	font-weight: bold;
	margin: 3px 0px 0px 0px;
}
h4
{
	font-size: 14px;
	font-weight: bold;
	margin: 4px 0px 12px 13px;
}
form
{
	margin: 0px 0px 0px 0px;
}
textarea
{
	
	font-size: 13px;
	border: solid 1px #A3A3A5;
	width: 300px;
	height: 100px;
	overflow: auto;
	padding: 4px;
}
input
{
	vertical-align: middle;
	
	margin: 0px;
	padding: 2px;
}
select
{
	vertical-align: middle; 
	font-size: 13px;
}
fieldset
{
	border: none;
	padding: 0px 10px 10px 10px;
	
}
abbr
{
	text-decoration: none;
	border-bottom: none;
}
strong a
{
	font-weight: bold;
}
#container
{
	width: 960px;
	overflow: hidden;
	margin: 0 auto 0 auto;
}
#header
{
	height: 117px;
	padding: 0 0 20px 0;
}
#footer
{
	background: url(../images/temp/bg_faq.png) repeat 0 0 white;
	padding: 10px 10px 2px 10px;
}
#footer p
{
	text-align: center;
}
#footer a
{
	text-decoration: none;
	color: #111111;
}
#footer a:hover
{
	text-decoration: none;
}

#content
{
    background-color: #ffffff;
	padding: 17px 15px 50px 15px;
	position: relative;
   
    box-shadow: 0 1px 1px #999;
}
#userMenu
{
	float: right;
	background-color: #ffffff;
	list-style-type: none;
	padding: 8px 10px 6px 0;
	margin: 0;
	font-size: 13px;
	height:16px;
	overflow: hidden;
}
#userMenu li
{
	float: left;
	padding: 0 0 0 10px;
	margin: 0 0 0 10px;
	border-left: solid 1px #cccccc;
}
#userMenu li.toContent
{
	border: none;
	margin: 0;
}
#userMenu li a
{
	text-decoration: none;
	color: #444444;
}
#userMenu a img
{
	position: relative;
	top: -3px;
}
#userMenu li a:hover
{
	text-decoration: none;
}
#searchBox
{
	clear: both;
	padding: 48px 0 0 0;
}
#searchBox form
{
	float: right;
	background-color: #FFFFFF;
	padding: 5px 10px 5px 5px;
	border-radius: 5px 0 0 0;
	height: 28px;
}
#searchBox input.text
{
	padding: 5px;
	overflow: hidden;
	line-height: 18px;
}
